package com.pap.product.calculate.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_product_calculate", namespace = "com.pap.product.calculate.auto.mapper.ProductCalculateMapper", remarks = " 修改点 ", aliasName = "t_product_calculate t_product_calculate")
public class ProductCalculate extends PapBaseEntity implements Serializable {
	/**
	 * 编码,所属表字段为t_product_calculate.CODE
	 */
	@MyBatisColumnAnnotation(name = "CODE", value = "t_product_calculate_CODE", chineseNote = "编码", tableAlias = "t_product_calculate")
	private String code;

	/**
	 * 所归属的产品编号,所属表字段为t_product_calculate.PRODUCT_ID
	 */
	@MyBatisColumnAnnotation(name = "PRODUCT_ID", value = "t_product_calculate_PRODUCT_ID", chineseNote = "所归属的产品编号", tableAlias = "t_product_calculate")
	private String productId;

	/**
	 * 产品融资项目编号,所属表字段为t_product_calculate.ITEM_ID
	 */
	@MyBatisColumnAnnotation(name = "ITEM_ID", value = "t_product_calculate_ITEM_ID", chineseNote = "产品融资项目编号", tableAlias = "t_product_calculate")
	private String itemId;

	/**
	 * 产品融资项目编码,所属表字段为t_product_calculate.ITEM_CODE
	 */
	@MyBatisColumnAnnotation(name = "ITEM_CODE", value = "t_product_calculate_ITEM_CODE", chineseNote = "产品融资项目编码", tableAlias = "t_product_calculate")
	private String itemCode;

	/**
	 * 产品融资项目名称,所属表字段为t_product_calculate.ITEM_NAME
	 */
	@MyBatisColumnAnnotation(name = "ITEM_NAME", value = "t_product_calculate_ITEM_NAME", chineseNote = "产品融资项目名称", tableAlias = "t_product_calculate")
	private String itemName;

	/**
	 * 产品融资项目分类类型,所属表字段为t_product_calculate.ITEM_TYPE
	 */
	@MyBatisColumnAnnotation(name = "ITEM_TYPE", value = "t_product_calculate_ITEM_TYPE", chineseNote = "产品融资项目分类类型", tableAlias = "t_product_calculate")
	private String itemType;

	/**
	 * 公式,所属表字段为t_product_calculate.FORMULA
	 */
	@MyBatisColumnAnnotation(name = "FORMULA", value = "t_product_calculate_FORMULA", chineseNote = "公式", tableAlias = "t_product_calculate")
	private String formula;

	/**
	 * 顺序号,所属表字段为t_product_calculate.ORDER_NO
	 */
	@MyBatisColumnAnnotation(name = "ORDER_NO", value = "t_product_calculate_ORDER_NO", chineseNote = "顺序号", tableAlias = "t_product_calculate")
	private String orderNo;

	private static final long serialVersionUID = 1L;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public String getFormula() {
		return formula;
	}

	public void setFormula(String formula) {
		this.formula = formula;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@Override
	public String getDynamicTableName() {
		return "t_product_calculate";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", code=").append(code);
		sb.append(", productId=").append(productId);
		sb.append(", itemId=").append(itemId);
		sb.append(", itemCode=").append(itemCode);
		sb.append(", itemName=").append(itemName);
		sb.append(", itemType=").append(itemType);
		sb.append(", formula=").append(formula);
		sb.append(", orderNo=").append(orderNo);
		sb.append("]");
		return sb.toString();
	}
}